/*
 * @Author: zxf
 * @Date: 2017-08-15 10:09:22
 * @Last Modified by: zhuxiaofang
 * @Last Modified time: 2018-06-27 15:41:46
 */

import Vue from 'vue'
import Router from 'vue-router'
import Login from '@/components/Login'
// import Product from '@/components/Product'
// import Order from '@/components/Order'
import Stroke from '@/components/Stroke'
import Guider from '@/components/Guider'
// import Teletext from '@/components/Teletext'
// import Discover from '@/components/Discover'
// import Contact from '@/components/Contact'
// import Account from '@/components/Account'
// import Marketing from '@/components/Marketing'
// import Settlement from '@/components/Settlement'
// import Volunteer from '@/components/Volunteer'
// import Custom from '@/components/Custom'
// import Message from '@/components/Message'
import Journal from '@/components/Journal'
import Group from '@/components/Group'
import Travelgency from '@/components/Travelgency'
import Clients from '@/components/Clients'


import Product from '@/components/product'

Vue.use(Router);
var track='';
export default new Router({
  // mode: 'history',
  history: false,
  hashbang: true,
  routes: [
    {
      path:`${track}/`,
      name: 'Login',
      component: Login
    },{
      path:`${track}/stroke`,
      name:'Stroke',
      component:Stroke
    },{
      path:`${track}/journal`,
      name:'Journal',
      component:Journal
    },{
      path:`${track}/group`,
      name:'Group',
      component:Group
    },{
      path:`${track}/guider`,
      name:'Guider',
      component:Guider
    },{
      path:`${track}/clients`,
      name:'Clients',
      component:Clients
    },{
      path:`${track}/travelgency`,
      name:'Travelgency',
      component:Travelgency
    }, {
      path: `${track}/product`,
      name: 'Product',
      component:Product
    }
    // {
    //   path:track+'/product',
    //   name:'Product',
    //   component:Product
    // },{
    //   path:track+'/order',
    //   name:'Order',
    //   component:Order
    // },{
    //   path:track+'/account',
    //   name:'Account',
    //   component:Account
    // // },{
    // //   path:track+'/marketing',
    // //   name:'Marketing',
    // //   component:Marketing
    // },{
    //   path:track+'/settlement',
    //   name:'Settlement',
    //   component:Settlement
    // },
  ]
})
